package com.arpa.wms.service;


import com.arpa.wms.domain.dto.MoveRegisterDTO;
import com.arpa.wms.domain.entity.MoveRegister;
import com.arpa.wms.domain.vo.MoveRegisterVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 移位明细 服务类
 * </p>
 *
 * @author LEO
 * @since 2020-08-24
 */
public interface IMoveRegisterService extends IService<MoveRegister> {

     /**
      *  @author: Allen chen
      *  @Date: 2020/11/4 18:00
      *  @Description: 条件查询
      */
    List<MoveRegisterVO> queryByCondition(MoveRegisterDTO moveRegisterDTO);

    /**
     *  @author: Allen chen
     *  @Date: 2020/11/9 21:06
     *  @Description: 根据明细code查询
     */
    List<MoveRegisterVO> queryByItemCodes(String itemCodes);
     /**
      *  @author: Allen chen
      *  @Date: 2020/11/9 21:06
      *  @Description: 根据状态查询
      */
     @Deprecated
    List<MoveRegisterVO> queryByStatus(MoveRegisterDTO moveRegisterDTO);

     /**
      *  @author: Allen chen
      *  @Date: 2020/11/5 8:54
      *  @Description: 更新移位数量和剩余移位数量
      */
    int updateQuantity(MoveRegisterDTO moveRegisterDTO);
     /**
      *  @author: Allen chen
      *  @Date: 2020/11/25 19:45
      *  @Description: 更新已经上架数量  movedQuantity
      */
    int updateiMovedQuantity(MoveRegisterDTO moveRegisterDTO);


}
